﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace WorldOnFire
{
    public class CPlasma : ABCProjectile
    {
        public override void Initialize(int _nObjectCount)
        {
            // Initialize the base members
            base.Initialize(_nObjectCount);

            // Set the enumerations
            eBaseType[] eBaseTypes = new eBaseType[] { eBaseType.MOVING_OBJECT, eBaseType.PROJECTILE };
            this.SetBaseTypeID(eBaseTypes);

            this.SetObjectType(eObjectType.PROJECTILE_PLASMA);
            this.SetProjectileID(eProjectileType.PLASMA);

            // Assign collidable types
            m_CollidableTypeList.Add(eObjectType.TARGET);
        }

        public override void LoadContent()
        {
            m_eModelID = CRenderingManager.eModelID.PROJECTILE_EMP;

            base.LoadContent();
        }
    }
}
